﻿
<div class="navbar navbar-inverse nav-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">DICOM PROJECT</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="@Url.Action("Index", "Patient")">Welcome @User.Name!</a></li>
        @{
            if (@User.UserType != "Patient")
            {
                <li>@Html.ActionLink("Home", "Index", "Home")</li>
                <li>@Html.ActionLink("Account", "Index", "Patient")</li>
            }
        }
                <li>@Html.ActionLink("Logout", "Logout", "UserProfile")</li>
            </ul>
        </div>
    </div>
</div>

